package com.mybatis.demo.demo1;

import java.util.List;
import java.util.Map;

public interface StudentsDAO {
	
	//新增--单个
	Integer add(Students students);
	
	//查找--
	Students find(Integer iid);
	
	//修改
	Integer modify(Students students);
	
	//删除
	Integer delete(Integer iid);
	
	//添加条数据
	Integer addMulti(List<Students> studentsList);
	
	List<Map<String, Object>>  findStudents1();
	
	/**
	 * 使用sql 替换属性来查询
	 * @return
	 */
	List<Students> findStudents2();
	

}
